# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=asn
pkgver=0.75.2
pkgrel=0
pkgdesc="ASN Lookup Tool and Traceroute Server"
url="https://github.com/nitefood/asn/"
arch="noarch"
license="MIT"
depends="bash
	ncurses
	nmap
	nmap-ncat
	mtr
	aha
	curl
	whois
	grepcidr3
	coreutils
	ipcalc
	bind-tools
	jq"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/nitefood/asn/archive/refs/tags/v$pkgver.tar.gz"

build() {
	return 0
}

package() {
	install -Dm0755 asn "$pkgdir"/usr/bin/asn
}

sha512sums="
1f6fd4b21b3f3f71b762cbda7fa0a7e455d1a82a7b6142e495c0bb0f6b02f59c19e8e43b44f02db7f8f16d3eac20cf8aba12a37f4ea4240b740fddea2dd55454  asn-0.75.2.tar.gz
"
